package com.jinke.api.modules.app.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum UserRechargeStatus {

    PENDING(0, "待审核"),

    SUCCESS(1, "通过"),

    REJECTED(2, "驳回");

    @EnumValue
    @JsonValue
    private final int value;
    private final String desc;

    UserRechargeStatus(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }


}